const excelRouter = {
  path: 'excel',
  component: () => import('@/views/_level2/index'),
  redirect: 'noRedirect',
  name: 'Excel',
  meta: {
    title: 'Excel相关',
    icon: 'excel',
  },
  children: [
    {
      path: 'export-excel',
      component: () => import('@/views/_framecapability/excel/export-excel'),
      name: 'ExportExcel',
      meta: { title: '导出' },
    },
    {
      path: 'export-selected-excel',
      component: () => import('@/views/_framecapability/excel/select-excel'),
      name: 'SelectExcel',
      meta: { title: '选中项导出' },
    },
    {
      path: 'export-merge-header',
      component: () => import('@/views/_framecapability/excel/merge-header'),
      name: 'MergeHeader',
      meta: { title: '合并表头' },
    },
    {
      path: 'upload-excel',
      component: () => import('@/views/_framecapability/excel/upload-excel'),
      name: 'UploadExcel',
      meta: { title: '上传' },
    },
  ],
}

export default excelRouter
